package pattern.observer.push;


/**
 * Created by boot on 8/30/15.
 */
public class WeatherSubject extends Subject {
    private String weatherContent;

    public String getWeatherContent() {
        return weatherContent;
    }

    public void setWeatherContent(String weatherContent) {
        this.weatherContent = weatherContent;
        this.notifyObservers(weatherContent);
    }
}
